package org.dynamo.database.reverse.config.reader.internal;
/*******************************************************************************
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Jean Neveux - initial API and implementation
 *******************************************************************************/
import org.dynamo.database.reverse.emf.metadata.Table;

public class TableIdentifier {

	public String id = null;

	public TableIdentifier(String catalogName, String schemaName,
			String tableName) {
		id = catalogName + schemaName + tableName;
	}

	public static String create(Table userfkTable) {
		return new TableIdentifier(userfkTable.getCatalog(), userfkTable
				.getSchema(), userfkTable.getName()).id;
	}

}
